package cn.ycms.bean;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Manager entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "manager")
public class Manager implements java.io.Serializable {

	// Fields

	private String managerId;
	private String managerName;
	private String managerPassword;
	private String managerXingming;
	private String managerSex;
	private String managerIdcard;
	private String managerAddress;
	private Integer managerAge;
	private String managerEmail;
	private String managerPhone;
	private String managerQq;
	private Integer mark;
	private Integer sort;
	private String beizhu;
	private Date createdates;

	// Constructors

	/** default constructor */
	public Manager() {
	}

	/** minimal constructor */
	public Manager(String managerId) {
		this.managerId = managerId;
	}

	/** full constructor */
	public Manager(String managerId, String managerName,
			String managerPassword, String managerXingming, String managerSex,
			String managerIdcard, String managerAddress, Integer managerAge,
			String managerEmail, String managerPhone, String managerQq,
			Integer mark, Integer sort, String beizhu, Date createdates) {
		this.managerId = managerId;
		this.managerName = managerName;
		this.managerPassword = managerPassword;
		this.managerXingming = managerXingming;
		this.managerSex = managerSex;
		this.managerIdcard = managerIdcard;
		this.managerAddress = managerAddress;
		this.managerAge = managerAge;
		this.managerEmail = managerEmail;
		this.managerPhone = managerPhone;
		this.managerQq = managerQq;
		this.mark = mark;
		this.sort = sort;
		this.beizhu = beizhu;
		this.createdates = createdates;
	}

	// Property accessors
	@Id
	@Column(name = "MANAGER_ID", unique = true, nullable = false, length = 20)
	public String getManagerId() {
		return this.managerId;
	}

	public void setManagerId(String managerId) {
		this.managerId = managerId;
	}

	@Column(name = "MANAGER_NAME", length = 20)
	public String getManagerName() {
		return this.managerName;
	}

	public void setManagerName(String managerName) {
		this.managerName = managerName;
	}

	@Column(name = "MANAGER_PASSWORD", length = 20)
	public String getManagerPassword() {
		return this.managerPassword;
	}

	public void setManagerPassword(String managerPassword) {
		this.managerPassword = managerPassword;
	}

	@Column(name = "MANAGER_XINGMING", length = 20)
	public String getManagerXingming() {
		return this.managerXingming;
	}

	public void setManagerXingming(String managerXingming) {
		this.managerXingming = managerXingming;
	}

	@Column(name = "MANAGER_SEX", length = 8)
	public String getManagerSex() {
		return this.managerSex;
	}

	public void setManagerSex(String managerSex) {
		this.managerSex = managerSex;
	}

	@Column(name = "MANAGER_IDCARD", length = 20)
	public String getManagerIdcard() {
		return this.managerIdcard;
	}

	public void setManagerIdcard(String managerIdcard) {
		this.managerIdcard = managerIdcard;
	}

	@Column(name = "MANAGER_ADDRESS", length = 50)
	public String getManagerAddress() {
		return this.managerAddress;
	}

	public void setManagerAddress(String managerAddress) {
		this.managerAddress = managerAddress;
	}

	@Column(name = "MANAGER_AGE")
	public Integer getManagerAge() {
		return this.managerAge;
	}

	public void setManagerAge(Integer managerAge) {
		this.managerAge = managerAge;
	}

	@Column(name = "MANAGER_EMAIL", length = 20)
	public String getManagerEmail() {
		return this.managerEmail;
	}

	public void setManagerEmail(String managerEmail) {
		this.managerEmail = managerEmail;
	}

	@Column(name = "MANAGER_PHONE", length = 20)
	public String getManagerPhone() {
		return this.managerPhone;
	}

	public void setManagerPhone(String managerPhone) {
		this.managerPhone = managerPhone;
	}

	@Column(name = "MANAGER_QQ", length = 20)
	public String getManagerQq() {
		return this.managerQq;
	}

	public void setManagerQq(String managerQq) {
		this.managerQq = managerQq;
	}

	@Column(name = "MARK")
	public Integer getMark() {
		return this.mark;
	}

	public void setMark(Integer mark) {
		this.mark = mark;
	}

	@Column(name = "SORT")
	public Integer getSort() {
		return this.sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	@Column(name = "BEIZHU", length = 200)
	public String getBeizhu() {
		return this.beizhu;
	}

	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}

	@Column(name = "CREATEDATES")
	public Date getCreatedates() {
		return this.createdates;
	}

	public void setCreatedates(Date createdates) {
		this.createdates = createdates;
	}

}